package com.haircut.utils;

import cn.hutool.extra.spring.SpringUtil;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class CommUtil {

    public static Boolean checkProductionEnvironment() {
        String profilesActive = SpringUtil.getActiveProfile();
        return "prod".equalsIgnoreCase(profilesActive);
    }

}
